﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace firstapp
{
    /// <summary>
    /// 
    /// </summary>
    class SZD_MyKnowledge:Knowledge
    {
        public override void DoWhatYouCan()
        {
            Console.WriteLine("Exception Error: 404");
            
                
        }
        /// <summary>
        /// This function represent birthday.
        /// </summary>
        /// Long 
        /// specification 
        /// of 
        /// this 
        /// function.
        /// String 'a' is a variable for your birth year, 'b' is for actual year date.
        /// <param name="a"></param>
        /// Return value 'kor' is how old are you.
        /// <returns></returns>
        public string kor(string x)
            {
                Console.WriteLine("Kérem a mai dátumot(csak az év):");
                int b = Convert.ToInt32(Console.ReadLine());
                int kor = b - Convert.ToInt32(x);                              
                return "Az emberünk kora:" + kor;
            }
    }
}
